package com.geekaca.web.utils;

import com.alibaba.fastjson.JSON;
import com.geekaca.web.pojo.Brand;

public class TestMain {
    public static void main(String[] args) {
        Brand brand = new Brand();
        brand.setId(1);
        brand.setBrandName("比亚迪 ");
        brand.setDescription("混动汽车");
        brand.setCompanyName("深圳比亚迪");
        brand.setStatus(1);

        String s = JSON.toJSONString(brand);
        System.out.println(s);

    }
}
